package com.example.agricultural_big_data.service;


import com.alibaba.fastjson.JSONObject;

import java.io.UnsupportedEncodingException;
import java.security.NoSuchAlgorithmException;

/**
 * @author xiao yang
 * @Description: 发送邮箱
 * @date 2021/3/913:53
 */
public interface EmailService {

    JSONObject sendEmail(JSONObject data);

    JSONObject verifyCode(JSONObject data) throws UnsupportedEncodingException, NoSuchAlgorithmException;
}
